public static enum Value.KindCase extends java.lang.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 |
---|---|
static Value.KindCase |
forNumber(int value) |
int |
getNumber() |
static Value.KindCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Value.KindCase |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static Value.KindCase valueOf(int value)
forNumber(int)
instead.public static Value.KindCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.