Enum CollectionDef.KindCase
- All Implemented Interfaces:
AbstractMessageLite.InternalOneOfEnum, Internal.EnumLite, Serializable, Comparable<CollectionDef.KindCase>
- Enclosing class:
CollectionDef
public static enum CollectionDef.KindCase
extends Enum<CollectionDef.KindCase>
implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CollectionDef.KindCaseforNumber(int value) intstatic CollectionDef.KindCasevalueOf(int value) Deprecated.static CollectionDef.KindCaseReturns 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.
-
Enum Constant Details
-
NODE_LIST
-
BYTES_LIST
-
INT64_LIST
-
FLOAT_LIST
-
ANY_LIST
-
KIND_NOT_SET
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
-
getNumber
public int getNumber()- Specified by:
getNumberin interfaceAbstractMessageLite.InternalOneOfEnum- Specified by:
getNumberin interfaceInternal.EnumLite
-