public static enum Type.TypeVariant extends Enum<Type.TypeVariant>
| Enum Constant and Description |
|---|
AliasTypeDef |
ArrayTypeDef |
BaseType |
BytesTypeDef |
EnumTypeDef |
MapTypeDef |
NumberTypeDef |
StringTypeDef |
StructTypeDef |
UnionTypeDef |
| Modifier and Type | Method and Description |
|---|---|
static Type.TypeVariant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.TypeVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.TypeVariant BaseType
public static final Type.TypeVariant StructTypeDef
public static final Type.TypeVariant MapTypeDef
public static final Type.TypeVariant ArrayTypeDef
public static final Type.TypeVariant EnumTypeDef
public static final Type.TypeVariant UnionTypeDef
public static final Type.TypeVariant StringTypeDef
public static final Type.TypeVariant BytesTypeDef
public static final Type.TypeVariant NumberTypeDef
public static final Type.TypeVariant AliasTypeDef
public static Type.TypeVariant[] values()
for (Type.TypeVariant c : Type.TypeVariant.values()) System.out.println(c);
public static Type.TypeVariant 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 © 2016–2021 Verizon Media. All rights reserved.