public static enum CollectionDef.KindCase extends Enum<CollectionDef.KindCase> implements com.github.os72.protobuf351.Internal.EnumLite
Enum Constant and Description |
---|
ANY_LIST |
BYTES_LIST |
FLOAT_LIST |
INT64_LIST |
KIND_NOT_SET |
NODE_LIST |
Modifier and Type | Method and Description |
---|---|
static CollectionDef.KindCase |
forNumber(int value) |
int |
getNumber() |
static CollectionDef.KindCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CollectionDef.KindCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionDef.KindCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionDef.KindCase NODE_LIST
public static final CollectionDef.KindCase BYTES_LIST
public static final CollectionDef.KindCase INT64_LIST
public static final CollectionDef.KindCase FLOAT_LIST
public static final CollectionDef.KindCase ANY_LIST
public static final CollectionDef.KindCase KIND_NOT_SET
public static CollectionDef.KindCase[] values()
for (CollectionDef.KindCase c : CollectionDef.KindCase.values()) System.out.println(c);
public static CollectionDef.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 null@Deprecated public static CollectionDef.KindCase valueOf(int value)
forNumber(int)
instead.public static CollectionDef.KindCase forNumber(int value)
public int getNumber()
getNumber
in interface com.github.os72.protobuf351.Internal.EnumLite
Copyright © 2018. All rights reserved.