public static enum Value.KindCase extends Enum<Value.KindCase> implements Internal.EnumLite
Enum Constant and Description |
---|
BOOL_VALUE |
KIND_NOT_SET |
LIST_VALUE |
NULL_VALUE |
NUMBER_VALUE |
STRING_VALUE |
STRUCT_VALUE |
Modifier and Type | Method and Description |
---|---|
int |
getNumber() |
static Value.KindCase |
valueOf(int value) |
static Value.KindCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Value.KindCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Value.KindCase NULL_VALUE
public static final Value.KindCase NUMBER_VALUE
public static final Value.KindCase STRING_VALUE
public static final Value.KindCase BOOL_VALUE
public static final Value.KindCase STRUCT_VALUE
public static final Value.KindCase LIST_VALUE
public static final Value.KindCase KIND_NOT_SET
public static Value.KindCase[] values()
for (Value.KindCase c : Value.KindCase.values()) System.out.println(c);
public static Value.KindCase 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 Value.KindCase valueOf(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite
Copyright © 2008–2015 Google. All rights reserved.