public static enum Type.Code extends Enum<Type.Code>
Enum Constant and Description |
---|
ARRAY |
BOOL |
BYTES |
DATE |
FLOAT64 |
INT64 |
STRING |
STRUCT |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
static Type.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.Code BOOL
public static final Type.Code INT64
public static final Type.Code FLOAT64
public static final Type.Code STRING
public static final Type.Code BYTES
public static final Type.Code TIMESTAMP
public static final Type.Code DATE
public static final Type.Code ARRAY
public static final Type.Code STRUCT
public static Type.Code[] values()
for (Type.Code c : Type.Code.values()) System.out.println(c);
public static Type.Code 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 nullCopyright © 2019 Google LLC. All rights reserved.